import { RouteRecordRaw } from 'vue-router'
import layoutVue from '@/page/layout.vue'
const viewRouter: Array<RouteRecordRaw> = [
    {
        path: '/home',
        name: '首页',
        // component: () => import('@/views/home/index.vue'),
        component: layoutVue,
        redirect: "/home/page",
        children: [
            {
                name: '首页',
                path: 'page',
                component: () => import('@/views/home/index.vue')
            }
        ]
    }
]
export default viewRouter